#pragma once

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
typedef int SLDataType;

typedef struct SeqList
{
	SLDataType* _a;
	int _size;
	int _capacity;
}SeqList;

void SeqListInit(SeqList* ps);

void SeqListDestory(SeqList* ps);

void SeqListPrint(SeqList* ps);

void SeqListInsert(SeqList* ps, int pos, SLDataType x);

void SeqListErase(SeqList* ps, int pos);

void SeqListPushBack(SeqList* ps, SLDataType x);

void SeqListPushFront(SeqList* ps, SLDataType x);

void SeqListPopFront(SeqList* ps);

void SeqListPopBack(SeqList* ps);

int SeqListFind(SeqList* ps, SLDataType x);